<layout name='layout/main' />
<header class="am-header am-header-default">
  <div class="am-header-left am-header-nav">
  <a href="<{:U('Store/index')}>"><i class="am-header-icon am-icon-home"></i></a>
  </div>
  <h1 class="am-header-title">抽奖记录</h1>
</header>

<div class="orderList">
<volist name="list" id="vo">
<div class="am-panel am-panel-default">
  <div class="am-panel-hd"><{$vo.createTime|date="Y-m-d",###}></div>
  <div class="am-panel-bd">
    <div><{$vo.event}><neq name="vo.val" value="6">(<eq name="vo.status" value="0">未兑奖<else/>已兑奖</eq>)<lt name="vo.val" value="5">，<a href="<{:U("Lottery/submit",array('id'=>$vo['id']))}>" class="am-btn am-btn-xs am-btn-warning">兑奖信息</a></lt></neq></div>
  </div>
</div>
</volist>
</div>

<ul data-am-widget="pagination" class="am-pagination am-pagination-select">
  <{$page}>
</ul>

<script>
$(function(){
$("#pageC").change(function(){
  window.location.href=$(this).val();
})
})  
</script>